/*
 * Copyright © 2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*/

@import '../../../../styles/variables.scss';

.running-runs-popover {
  display: inline-block;
  margin-left: 2px;

  .running-runs-toggle {
    cursor: pointer;

    a {
      text-decoration: none;
    }
  }

  .popper {
    z-index: 999;
    width: 450px;
    padding: 20px;

    .table.running-runs-popover-table {
      background-color: white;

      th,
      td {
        font-size: 13px;
        padding: 5px 10px;
        border-bottom: 1px solid $grey-03;
        cursor: auto;
      }

      td:first-child,
      th:first-child {
        padding: 5px 0;
        border-bottom-color: white;
      }

      td {
        text-align: left;
        color: $grey-01;
        cursor: pointer;

        .icon-check {
          color: $green-02;
        }
      }

      tr.current-run-row {
        background-color: rgba($yellow-02, 0.3);

        td:first-child {
          background-color: white;
        }
      }
    }
  }
}
